package com.kingyea.mobilepolice.config.feign;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 系统客户端配置实体类
 */
@ConfigurationProperties(prefix = "kingyea.mobilepolice.oauth2.feign.client")
public class Oauth2ClientProperties {
    private String id;
    private String accessTokenUrl;
    private String clientId;
    private String clientSecret;
    private String clientAuthenticationScheme;

    private String externalAccessTokenUrl;
    private String insideAccessTokenUrl;

    public String getClientAuthenticationScheme() {
        return clientAuthenticationScheme;
    }

    public void setClientAuthenticationScheme(String clientAuthenticationScheme) {
        this.clientAuthenticationScheme = clientAuthenticationScheme;
    }

    public String getAccessTokenUrl() {
        return accessTokenUrl;
    }

    public void setAccessTokenUrl(String accessTokenUrl) {
        this.accessTokenUrl = accessTokenUrl;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getExternalAccessTokenUrl() {
        return externalAccessTokenUrl;
    }

    public void setExternalAccessTokenUrl(String externalAccessTokenUrl) {
        this.externalAccessTokenUrl = externalAccessTokenUrl;
    }

    public String getInsideAccessTokenUrl() {
        return insideAccessTokenUrl;
    }

    public void setInsideAccessTokenUrl(String insideAccessTokenUrl) {
        this.insideAccessTokenUrl = insideAccessTokenUrl;
    }
}